﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CSharpInterfaceTeach
{
    /// <summary>
    /// 设备操作接口
    /// 
    /// 接口是对“接口实现者”程序编写的规范要求
    /// </summary>
    public interface IEquipOperation
    {
        //启动
        void Start(string id);

        //加速
        bool Accelerate();

        //减速
        bool SlowDown();

        //停止
        void Stop();
    }
}
